{extend name="main/index" /}
{block name="main"}
<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">Home</a>
            </li>

            <li>
                <a href="{:url('admin/material/index')}" >Tables</a>
            </li>
            <li class="active">详情信息</li>
        </ul><!-- .breadcrumb -->


    </div>

    <div class="page-content">
        <div class="row">
        <div class="col-xs-2">
        </div>
            <div class="col-xs-8">
                <div class="row">
                    <div class="col-xs-12">

                        <div class="table-responsive">

                           <form action="{:url('admin/material/editor',['id' => $list['id']])}" method='post'>
                                  <div class="form-group">
                                    <label for="exampleInputEmail1">项目名称</label>
                                    <!-- <?php var_dump($list)?> -->
                                    <input type="hidden" class="form-control" id="exampleInputEmail1" name="id" value= "{$list['id']}" >
                                    <input type="text" class="form-control" id="exampleInputEmail1" value= "{$list['project_name']}" >
                                  </div>
                                   <div class="form-group">
                                    <label for="exampleInputEmail1">材料名称</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" name="material_name" placeholder="Email" value="{$list['material_name']}">
                                  </div>
                                   <div class="form-group">
                                    <label for="exampleInputEmail1">用材分部</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" name="timber_division" placeholder="Email" value="{$list['timber_division']}">
                                  </div>
                                   <div class="form-group">
                                    <label for="exampleInputEmail1">预估单价</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" name="estimate_unit_price" placeholder="Email" value="{$list['estimate_unit_price']}" >
                                  </div>
                                  <div class="form-group">
                                    <label for="exampleInputEmail1">预估数量</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" name="estimate_number" placeholder="Email" value="{$list['estimate_number']}" >
                                  </div>
                                  <div class="form-group">
                                    <label for="exampleInputPassword1">预估总价</label>
                                    <input type="text" class="form-control" id="exampleInputPassword1" name="estimate_total_price" placeholder="Password" value="{$list['estimate_total_price']}" >
                                  </div>
                                  <div class="form-group">
                                    <label for="exampleInputPassword1">流程状态</label>
                                    <input type="text" class="form-control" id="exampleInputPassword1" name="status" placeholder="Password" value="{$list['status']}">
                                  </div>
                                  <!-- <span class="label label-lg arrowed-in">Yellow</span> -->
                                  <button class="btn label-yellow btn-block" type="submit">编辑信息</button>



                            </form>
                </div>
            </div>
            <div class="col-xs-3">
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content -->
</div>
{/block}